package com.tuo51.manager.repository;

import com.tuo51.manager.domain.Channel;
import com.tuo51.manager.domain.SysUser;
import com.tuo51.manager.vo.StaffListItemVO;
import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;
import java.util.Map;

public interface ChannelRepository extends JpaRepository<Channel, String>, JpaSpecificationExecutor<Channel> {

    List<Channel> findAllByOrderByCreatedDesc();

}
